<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="/admin/mark/mark_edit">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">父级标签:</label>
        <div class="col-xs-12 col-sm-8">
            <select name="fid"  class="form-control">
                <option value="0" >顶级</option>
                {volist name="markList" id="markList" key="key"}
                <option value="{$markList.id}" {if condition="$markList.id eq $row.fid"} selected="selected" {/if}> <?php {echo str_repeat('&nbsp;', $markList['m_level']*8);} ?> |--{$markList.mark_info}</option>
                {/volist}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">标签标题:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="hidden" name="id" value="{$row.id}">
            <input id="c-mark_info" class="form-control" name="mark_info" type="text" value="{$row.mark_info}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">标签链接:</label>
        <div class="col-xs-12 col-sm-8">
            <input  class="form-control" name="linkto" value="{$row.linkto}" type="text">
        </div>
    </div>
   <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">标签类型:</label>

        <div class="col-xs-12 col-sm-8">
            <select name="mark_type" id="" class="form-control">
                {volist name="type" id="r" key="key"}
                <option value="{$key-1}" {if $key-1 == $row['mark_type']} selected="selected" {/if}>{$r}</option>
                {/volist}
            </select>
        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">是否搜索热词:</label>
        <div class="col-xs-12 col-sm-8">
            <input  name="ishot" type="radio" value="0" {if $row["ishot"]==0} checked="checked" {/if}>一般词
            <input  name="ishot" type="radio" value="1" {if $row["ishot"]==1} checked="checked" {/if}>搜索热词
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">状态:</label>
        <div class="col-xs-12 col-sm-8">
            <input  name="status" type="radio" value="0" {if $row["status"]==0} checked="checked" {/if}>已审核
            <input  name="status" type="radio" value="1" {if $row["status"]==1} checked="checked" {/if}>未审核
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed ">{:__('OK')}</button>
            <a   href="/admin/mark/index" class="btn btn-default btn-embossed">返回</a>
        </div>
    </div>
</form>
